package cn.yunhe.entity;


import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.List;

@Getter
@Component
public class Dept implements Serializable {
    private String dname;
    @Resource(name = "list")
    private List<Emplo> empList;
    @Value(value = "销售部")
    public void setDname(String dname) {
        this.dname = dname;
    }


}
